

PROG=cartolafc

INCLUDES=-I../libplayer
LIBS=-lplayer -L../libplayer
CFLAGS += -W
SRC:=	data.c \
		statistics.c \
		main.c

OBJ:=$(SRC:.c=.o)

hist:all

all:$(PROG)

$(PROG):$(OBJ)
	$(CC) $(OBJ) $(CFLAGS) $(LIBS) -o $(PROG)

%.o:%.c
	$(CC) $(CFLAGS) $(INCLUDES) -c -o $@ $<
	
clean:
	rm -rf *.o $(PROG)
